﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Treinamento2015_01Core.Models;
using Treinamento2015_01Core.Repository;

namespace Treinamento2015_01Core.Service
{
    public class ProductTypeService : BaseService<ProductType, ProductTypeRepository> 
    {
        public ProductTypeService() 
            : base (new ProductTypeRepository())
        { }
        public void SetAsInactive(ProductType producttype)
        {
            _Repository.Update(producttype);
        }

        //public void Dispose() { }
    }
}
